<template>
<!-- 分页器 -->
  <div class="pagination">
    <el-pagination
      @size-change="handleSizeChange"
      @current-change="handleCurrentChange"
      :current-page="currentPage4"
      :page-sizes="[5, 10, 15, 20]"
      :page-size="5"
      layout="total, sizes, prev, pager, next, jumper"
      :total="tableData.length"
    >
    </el-pagination>
  </div>
</template>

<script>
import { defineComponent } from 'vue'

export default defineComponent({
    name:'ZyjPagination',
    props:{
        tableData:Array,
        handleSizeChange:Function,
        handleCurrentChange:Function,
        currentPage4:Number
    },
    setup() {
        
    },
})
</script>

<style scoped>
.pagination{
  text-align: right;
  margin: 15px 55px 0 0;
}
</style>
